package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 党员发展状态对象 user_party_develop
 * 
 * @author ruoyi
 * @date 2024-07-25
 */
public class UserPartyDevelop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long userId;
    
    /** 用户名称 */
    private String userName;
    
    /** 性别 */
    private String sex;
    
    /** 电话号码 */
    private String phoneNumber;
    
    /** 部门ID */
    private Long deptId;
    
    /** 部门名称 */
    private String deptName;
    
    /** 申请人 */
    @Excel(name = "申请人")
    private Integer stage1Flag;
    
    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer check_status;

    /** 申请人确定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请人确定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stage1FlagTime;

    /** 积极分子 */
    @Excel(name = "积极分子")
    private Integer stage2Flag;

    /** 积极分子确定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "积极分子确定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stage2FlagTime;

    /** 发展对象 */
    @Excel(name = "发展对象")
    private Integer stage3Flag;

    /** 发展对象确定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发展对象确定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stage3FlagTime;

    /** 预备党员 */
    @Excel(name = "预备党员")
    private Integer stage4Flag;

    /** 预备党员确定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预备党员确定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stage4FlagTime;

    /** 党员 */
    @Excel(name = "党员")
    private Integer stage5Flag;

    /** 党员确定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "党员确定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stage5FlagTime;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    
    public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Long getDeptId() {
		return deptId;
	}

	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public Integer getCheck_status() {
		return check_status;
	}

	public void setCheck_status(Integer check_status) {
		this.check_status = check_status;
	}

	public void setStage1Flag(Integer stage1Flag) 
    {
        this.stage1Flag = stage1Flag;
    }

    public Integer getStage1Flag() 
    {
        return stage1Flag;
    }
    public void setStage1FlagTime(Date stage1FlagTime) 
    {
        this.stage1FlagTime = stage1FlagTime;
    }

    public Date getStage1FlagTime() 
    {
        return stage1FlagTime;
    }
    public void setStage2Flag(Integer stage2Flag) 
    {
        this.stage2Flag = stage2Flag;
    }

    public Integer getStage2Flag() 
    {
        return stage2Flag;
    }
    public void setStage2FlagTime(Date stage2FlagTime) 
    {
        this.stage2FlagTime = stage2FlagTime;
    }

    public Date getStage2FlagTime() 
    {
        return stage2FlagTime;
    }
    public void setStage3Flag(Integer stage3Flag) 
    {
        this.stage3Flag = stage3Flag;
    }

    public Integer getStage3Flag() 
    {
        return stage3Flag;
    }
    public void setStage3FlagTime(Date stage3FlagTime) 
    {
        this.stage3FlagTime = stage3FlagTime;
    }

    public Date getStage3FlagTime() 
    {
        return stage3FlagTime;
    }
    public void setStage4Flag(Integer stage4Flag) 
    {
        this.stage4Flag = stage4Flag;
    }

    public Integer getStage4Flag() 
    {
        return stage4Flag;
    }
    public void setStage4FlagTime(Date stage4FlagTime) 
    {
        this.stage4FlagTime = stage4FlagTime;
    }

    public Date getStage4FlagTime() 
    {
        return stage4FlagTime;
    }
    public void setStage5Flag(Integer stage5Flag) 
    {
        this.stage5Flag = stage5Flag;
    }

    public Integer getStage5Flag() 
    {
        return stage5Flag;
    }
    public void setStage5FlagTime(Date stage5FlagTime) 
    {
        this.stage5FlagTime = stage5FlagTime;
    }

    public Date getStage5FlagTime() 
    {
        return stage5FlagTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("stage1Flag", getStage1Flag())
            .append("stage1FlagTime", getStage1FlagTime())
            .append("stage2Flag", getStage2Flag())
            .append("stage2FlagTime", getStage2FlagTime())
            .append("stage3Flag", getStage3Flag())
            .append("stage3FlagTime", getStage3FlagTime())
            .append("stage4Flag", getStage4Flag())
            .append("stage4FlagTime", getStage4FlagTime())
            .append("stage5Flag", getStage5Flag())
            .append("stage5FlagTime", getStage5FlagTime())
            .toString();
    }
}
